package one.stand.fallback;

import com.jmp.service.api.admin.dto.*;
import com.jmp.feign.TicketFeign;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

/**
 * @author hujun
 */
@Component
public class TicketFallback implements TicketFeign {

    @Override
    public ResultModel<TicketInfoResponse> info(TicketInfoRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<TicketInfoQrResponse> infoQr(TicketInfoQrRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel use(TicketUseRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel orderSave(TicketOrderSaveRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel orderPass(TicketOrderPassRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel orderRefuse(TicketOrderPassRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel orderMemo(TicketOrderMemoDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<TicketOrderCountVo> orderCount(TicketOrderCountDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<TicketOrderListVo> orderList(TicketOrderListDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<TicketOrderInfoVo> orderInfo(TicketOrderInfoDto request) {
        return ResultModel.faultTolerant();
    }
}
